import request from '@/utils/request'
let baseURL = 'portal-server/v1/api/project/mapping'

/**
 * 商业汇总项目下拉
 * @param fromatCode 业态编码
 */
export const getProjectDropDownListApi = (fromatCode) => {
	return request({
		url: `${baseURL}/businessSummarizingPorjectDown?fromatCode=${fromatCode}`,
		method: 'get',
	})
};
/**
 * 商业汇总项目列表  入参 @param data 属性如下
 * @param fromatCode   业态编码
 * @param groupCode    集团编码
 * @param projectCode  项目编码
 */
export const queryBusinessSummaryProjectListApi = (data) => {
	return request({
		url: `${baseURL}/businessSummarizingList`,
		method: 'post',
		data: data
	})
};